home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global slider, toolH, toolV, gallery
- set the visible of sprite 48 to 0
- set slider to 0
- set the locH of sprite 40 to toolH
- set the locV of sprite 40 to toolV
- set gallery to "slideshow"
- end
-
- on keyDown
- if the key = 1 then
- set the soundLevel to 1
- end if
- if the key = 2 then
- set the soundLevel to 2
- end if
- if the key = 3 then
- set the soundLevel to 3
- end if
- if the key = 4 then
- set the soundLevel to 4
- end if
- if the key = 5 then
- set the soundLevel to 5
- end if
- if the key = 6 then
- set the soundLevel to 6
- end if
- if the key = 7 then
- set the soundLevel to 7
- end if
- end
-
- on stopMovie
- global toolH, toolV
- set toolH to the locH of sprite 40
- set toolV to the locV of sprite 40
- end
-
- on pressit button, swap
- puppetSound("clickdn")
- repeat while the mouseDown
- set the castNum of sprite button to swap
- updateStage()
- end repeat
- puppetSprite(button, 0)
- puppetSound("clickup")
- end
-
- on tools
- global slider
- repeat with n = 41 to 48
- puppetSprite(n, 1)
- end repeat
- set the locV of sprite 41 to the locV of sprite 40 + 29
- repeat with n = 42 to 46
- set the locV of sprite n to the locV of sprite 40 + 36
- end repeat
- repeat with n = 47 to 48
- set the locV of sprite n to the locV of sprite 40 + 13
- end repeat
- set the locH of sprite 41 to the locH of sprite 40 - 1
- set the locH of sprite 42 to the locH of sprite 40 - 63
- set the locH of sprite 43 to the locH of sprite 40 - 32
- set the locH of sprite 44 to the locH of sprite 40 - 1
- set the locH of sprite 45 to the locH of sprite 40 + 30
- set the locH of sprite 46 to the locH of sprite 40 + 61
- set the locH of sprite 47 to the locH of sprite 40 - 65
- set the locH of sprite 48 to the locH of sprite 40 + 40 + slider
- updateStage()
- end
-